From: Richard M. Stallman Date: Sat, 22 Mar 1997 04:13:05 +0000 (+0000) Subject: (print): Generate a backslash in \2e10. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~81849 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e837058bc33ac4055f8456f71081692734217d20;p=emacs.git (print): Generate a backslash in \2e10. --- diff --git a/src/print.c b/src/print.c index f592f4a769c..57f6ffdf826 100644 --- a/src/print.c +++ b/src/print.c @@ -1018,7 +1018,9 @@ print (obj, printcharfun, escapeflag) confusing = 0; else { - while (p != end && *p >= '0' && *p <= '9') + while (p != end && ((*p >= '0' && *p <= '9') + /* Needed for \2e10. */ + || *p == 'e')) p++; confusing = (end == p); }